package com.bicon.botu.mall.order.processor.fallback;

import com.bicon.botu.core.base.common.Constants;
import com.bicon.botu.core.base.common.entity.BaseResult;
import com.bicon.botu.core.base.common.utils.JsonUtil;
import com.bicon.botu.mall.order.processor.handler.AccountRpc;
import org.springframework.stereotype.Component;

/**
 * 账户信息
 *
 * @author 李双喜
 * @date 2018/6/28 14:27
 */
@Component
public class AccountFallback implements AccountRpc {
    @Override
    public String getAccountLog(String userId) {
        return JsonUtil.toJson(new BaseResult(Constants.RESPONSE_CODE_404, Constants.RESPONSE_MESSAGE_404));
    }
}
